



public class MainClass {
	public static void main(String[] args) {
		BeaconData [] beaconArr = new BeaconData[3];
		
//		beacon[0] = new BeaconData(0, 0, 1.3, 5);
//		beacon[1] = new BeaconData(10, 4, 1.3, 8);
//		beacon[2] = new BeaconData(4, 10, 1.3, 8);
		
		beaconArr[0] = new BeaconData(20, 26, 5);
		beaconArr[1] = new BeaconData(27, 31, 10);
		beaconArr[2] = new BeaconData(36, 27, 2);
		
		
		Triangulation tr = new Triangulation(beaconArr);
		
		BeaconData position = tr.getPosition();
		System.out.println();
		System.out.println(position.getX() + "  " + position.getY());
	}
}
